home *** CD-ROM | disk | FTP | other *** search
- #Inventor V2.0 ascii
- # Self Manipulating Ellipsoid
- Separator {
- Rotation {
- rotation 1 0 0 -1.5708
- }
- # Interface for ellipsoid control
- Separator {
- BaseColor { rgb 1 0 0 }
- DEF AXIS_X_DRAGGER Translate1Dragger {
- translation 1 0 0
- translator DEF DRAG_BALL Separator {
- Cube { width .2 height .2 depth .2 }
- }
- translatorActive DEF DRAG_YELLOW_BALL Separator {
- BaseColor { rgb 1 1 0 }
- Cube { width .2 height .2 depth .2 }
- }
- }
- }
- Separator {
- BaseColor { rgb 0 0 1 }
- Rotation {
- rotation 0 0 1 -1.5708
- }
- DEF AXIS_Y_DRAGGER Translate1Dragger {
- translation 1 0 0
- translator USE DRAG_BALL
- translatorActive USE DRAG_YELLOW_BALL
- }
- }
- Separator {
- BaseColor { rgb 0 1 0 }
- Rotation {
- rotation 0 1 0 -1.5708
- }
- DEF AXIS_Z_DRAGGER Translate1Dragger {
- translation 1 0 0
- translator USE DRAG_BALL
- translatorActive USE DRAG_YELLOW_BALL
- }
- }
- Separator {
- BaseColor { rgb .8 .8 .8 }
- Scale {
- scaleFactor 1 1 1 = ComposeVec3f {
- x = DecomposeVec3f {
- vector = USE AXIS_X_DRAGGER . translation
- }
- .x
- y = DecomposeVec3f {
- vector = USE AXIS_Y_DRAGGER . translation
- }
- .x
- z = DecomposeVec3f {
- vector = USE AXIS_Z_DRAGGER . translation
- }
- .x
- }
- . vector
- }
- Sphere {
- }
- }
- }
-